﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ExcellentCRM.DataService.Models
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department : BaseModel
    {
        [Display(Name = "部门名")]
        [Required(AllowEmptyStrings = false)]
        [StringLength(30)]
        public string DeptName { get; set; }

        public virtual IList<Staff> Staff { get; set; }
    }
}